(function () {
    var self = this;

    this.init = function () {
        self.checkJquery();
        self.initialize();
    };

    this.checkJquery = function () {
        if (!window.jQuery) {
            a = document.createElement("script");
            a.setAttribute("src", "//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js");
            document.head.appendChild(a);
        }
    };

    this.fixCopyright = function () {
        this.content = '© EN{CODE}D - Vishal Gupta 2015. Powered by <a href="http://www.blogger.com" target="_blank">Blogger</a>.';
        jQuery('#Attribution1').find('.widget-content:first').html(this.content);
    };

    this.initialize = function () {
        setTimeout(function () {
            jQuery(function () {
                self.fixCopyright();
            });
        }, 500);
    };

    self.init();
})();
